package com.common;

import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

/**
 * Created by sola on 2018/1/28.
 */
@Deprecated
public interface MyPageable {

    int getPageNumber();

    int getPageSize();

    int getOffset();

    MySort getMySort();

    MyPageable next();

    MyPageable previousOrFirst();

    MyPageable first();

    boolean hasPrevious();
}
